﻿using Appliaction.Dto.Pinv;
using AutoMapper;
using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.Profiles.Pinv
{
    public class PoProfile: Profile
    {
        public PoProfile()
        {
            CreateMap<Pinv_Po, Pinv_Po_AddDto>().ReverseMap();
            CreateMap<pinv_details, pinv_detailsAddDto>().ReverseMap();
            CreateMap<pinv_details, Pinv_detailsSelectDto>().ReverseMap();
            //CreateMap<pinv_details, PinvOrderDetailsDto>().ReverseMap();
            CreateMap<Pinv_Po, Pinv_PoUpdateDto>().ReverseMap();
            CreateMap<Pinv_Po, Pinv_PoUpdateAuditDto>().ReverseMap();
            CreateMap<Pinv_Po, Pinv_PoRevokeDto>().ReverseMap();

        }
    }
}
